import request from '@/utils/request'

// 查询测点数值类型列表
export function listMeasurePointType(query) {
    return request({
        url: '/dictData/measurePointType/list',
        method: 'get',
        params: query
    })
}

// 查询测点数值类型详细
export function getMeasurePointType(id) {
    return request({
        url: '/dictData/measurePointType/' + id,
        method: 'get'
    })
}

// 新增测点数值类型
export function addMeasurePointType(data) {
    return request({
        url: '/dictData/measurePointType',
        method: 'post',
        data: data
    })
}

// 修改测点数值类型
export function updateMeasurePointType(data) {
    return request({
        url: '/dictData/measurePointType',
        method: 'put',
        data: data
    })
}

// 删除测点数值类型
export function delMeasurePointType(id) {
    return request({
        url: '/dictData/measurePointType/' + id,
        method: 'delete'
    })
}
